package com.codi.bus.core.fund.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * 模块名
 *
 * @author spy
 * @version 1.0 2018-01-25
 * @since 1.0
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MyDividendHistoryRequestDto {

    private Long userId;

    @NotEmpty
    private String fundCode;

    @NotEmpty
    private String tradeAcco;

    @NotNull
    @Builder.Default
    private Integer page = 1;

    @NotNull
    @Builder.Default
    private Integer size = 10;
}
